# redis general configure file
daemonize yes 
tcp-backlog 511 
bind 0.0.0.0
protected-mode no
timeout 0
tcp-keepalive 60
loglevel notice 
databases 16 
dir /data/redis/data

# redis cluster configure parameter 
appendonly yes 
appendfsync everysec 
no-appendfsync-on-rewrite yes 
auto-aof-rewrite-min-size 64mb 
lua-time-limit 5000 
slowlog-log-slower-than 10000 
slowlog-max-len 128 
notify-keyspace-events "" 
hash-max-ziplist-entries 512 
hash-max-ziplist-value 64 
list-max-ziplist-entries 512 
list-max-ziplist-value 64 
set-max-intset-entries 512 
zset-max-ziplist-entries 128 
zset-max-ziplist-value 64 
activerehashing yes
requirepass {{ passwd }}
masterauth {{ passwd }}
client-output-buffer-limit normal 0 0 0 
client-output-buffer-limit slave 256mb 64mb 60 
client-output-buffer-limit pubsub 32mb 8mb 60 
hz 10 
aof-rewrite-incremental-fsync yes
